<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // cookie的创建
        //使用cookie的前提!!!!!必须在服务器的环境下(必须用live server打开不能用本地打开)



        // document.cookie="user=a123";
        // document.cookie="pwd=123";
        // document.cookie="phone=123355";
        // document.cookie="eamli=123@qq.com";

        console.log(document.cookie)
    </script>
</body>
</html>